<!DOCTYPE html>
<html>
<head>
  <title></title>
</head>
<body>
  <h1></h1>
</body>
<script>
/*<jdists encoding="typescript">*/
class BankAccount {
  balance = 0;
  deposit(credit: number) {
    this.balance += credit;
    return this.balance;
  }
}
/*</jdists>*/
</script>
</html>